From: Luca Ferretti Date: Wed, 9 Feb 2011 22:08:02 +0000 (+0100) Subject: bluetooth: remove weird "Agent" word from notification (close #637687) X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9064 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=940f06fb3243fdf144fa6c59fe0346fb1f4446ec;p=gnome-shell.git bluetooth: remove weird "Agent" word from notification (close #637687) Agents are an implementation detail of Bluetooth on Linux (it's actually a D-Bus "agent", not a Bluetooth one anyway). Only "Bluetooth" is fine. --- diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js index 2220d2520..2926f9739 100644 --- a/js/ui/status/bluetooth.js +++ b/js/ui/status/bluetooth.js @@ -334,7 +334,7 @@ Source.prototype = { __proto__: MessageTray.Source.prototype, _init: function() { - MessageTray.Source.prototype._init.call(this, _("Bluetooth Agent")); + MessageTray.Source.prototype._init.call(this, _("Bluetooth")); this._setSummaryIcon(this.createNotificationIcon()); }, @@ -368,7 +368,7 @@ AuthNotification.prototype = { _init: function(source, applet, device_path, name, long_name, uuid) { MessageTray.Notification.prototype._init.call(this, source, - _("Bluetooth Agent"), + _("Bluetooth"), _("Authorization request from %s").format(name), { customContent: true }); this.setResident(true); @@ -408,7 +408,7 @@ ConfirmNotification.prototype = { _init: function(source, applet, device_path, name, long_name, pin) { MessageTray.Notification.prototype._init.call(this, source, - _("Bluetooth Agent"), + _("Bluetooth"), _("Pairing confirmation for %s").format(name), { customContent: true }); this.setResident(true); @@ -441,7 +441,7 @@ PinNotification.prototype = { _init: function(source, applet, device_path, name, long_name, numeric) { MessageTray.Notification.prototype._init.call(this, source, - _("Bluetooth Agent"), + _("Bluetooth"), _("Pairing request for %s").format(name), { customContent: true }); this.setResident(true);